package com.qumitech.visualnovel.datasource.app;

import com.qumitech.visualnovel.model.dao.app.VoiceRoom;

import org.apache.ibatis.annotations.Param;
import com.qumitech.visualnovel.pubdef.dto.voiceroom.query.VoiceRoomDataQueryDTO;
import java.util.List;

public interface VoiceRoomMapper {
    int deleteByPrimaryKey(Long id);

    int insert(VoiceRoom record);

    int insertSelective(VoiceRoom record);

    VoiceRoom selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(VoiceRoom record);

    int updateByPrimaryKey(VoiceRoom record);

    List<VoiceRoom> listWithRoomIds(@Param("rids") List<String> rids);

    Integer getVoiceRoomNum(VoiceRoomDataQueryDTO queryDTO);

    VoiceRoom getVoiceRoomByUid(@Param("uid") String uid);
}